package facade_pattern;

/**
 * @author 申书航
 * @version 1.0
 *
 * 矮人推车操作员类，继承自矮人矿工。
 */
public class DwarfCartOperator extends DwarfMineWorker{
    @Override
    public String name() {
        return "推车操作员";
    }

    @Override
    public void work() {
        System.out.println(name() + "推车");
    }
}
